﻿<UserControl x:Class="CPN.PJN.Silverlight.Module.Shell.ViewParts.ShellView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    xmlns:uriMapper="clr-namespace:System.Windows.Navigation;assembly=System.Windows.Controls.Navigation"
    xmlns:prism="http://www.codeplex.com/prism">
    <Border Style="{StaticResource ContentBorderStyle}">
        <Grid x:Name="LayoutRoot" Style="{StaticResource LayoutRootGridStyle}">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <Border x:Name="BrandingBorder" Style="{StaticResource NavBrandingBorderStyle}">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*"/>
                        <ColumnDefinition Width="Auto"/>
                    </Grid.ColumnDefinitions>
                    <StackPanel Grid.Column="1" Style="{StaticResource BrandingStackPanelStyle}" HorizontalAlignment="Right" VerticalAlignment="Top">
                        <Image Source="/CPN.PJN.Silverlight.UI.Theming.DefaultTheme;component/Assets/Images/logo_soat.png" Margin="0,15,0,0" MaxHeight="110" />
                    </StackPanel>
                    <StackPanel x:Name="BrandingStackPanel" Style="{StaticResource BrandingStackPanelStyle}">
                        <TextBlock x:Name="ApplicationNameTextBlock" Style="{StaticResource ApplicationNameStyle}" Text="SoPrism" />
                    </StackPanel>
                </Grid>
            </Border>
            <Border x:Name="LinksBorder" Style="{StaticResource NavLinksBorderStyle}">
                <StackPanel x:Name="LinksStackPanel" Style="{StaticResource LinksStackPanelStyle}">
                    <HyperlinkButton Style="{StaticResource LinkStyle}" NavigateUri="/Home" Content="Home" />
                    <HyperlinkButton Style="{StaticResource LinkStyle}" NavigateUri="/About" Content="About" />
                </StackPanel>
            </Border>
            <Border x:Name="ContentBorder" Style="{StaticResource NavContentBorderStyle}">
                <navigation:Frame x:Name="ContentFrame" Style="{StaticResource NavContentFrameStyle}" Navigated="ContentFrame_Navigated" NavigationFailed="ContentFrame_NavigationFailed" UriMapper="{StaticResource uriMapper}"/>
            </Border>
        </Grid>
    </Border>
</UserControl>
    